package com.zhangyu.shadow.repair.delegate.repair;

import com.alibaba.fastjson.JSON;

/**
 * @author zhangyu
 * @date 2018/3/28
 */

 public class PostOutFactoryData {

    /**
     * Id : 1
     * VehicleCode : 82223
     * OutFactoryTime : 可以不填
     */

    private int Id;
    private String VehicleCode;
    private String OutFactoryTime;

    public int getId() {
        return Id;
    }

    public PostOutFactoryData setId(int Id) {
        this.Id = Id;
        return this;
    }

    public String getVehicleCode() {
        return VehicleCode;
    }

    public PostOutFactoryData setVehicleCode(String VehicleCode) {
        this.VehicleCode = VehicleCode;
        return this;
    }

    public String getOutFactoryTime() {
        return OutFactoryTime;
    }

    public PostOutFactoryData setOutFactoryTime(String OutFactoryTime) {
        this.OutFactoryTime = OutFactoryTime;
        return this;
    }

    public static String getJsonData(int id, String VehicleCode, String OutFactoryTime) {
        return JSON.toJSONString(new PostOutFactoryData().setId(id)
                .setVehicleCode(VehicleCode)
                .setOutFactoryTime(OutFactoryTime));
    }
}
